﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MAT
{
    public partial class frmRequestBorrowAsset : Form
    {
        Controllers.ctrRequestBorrowAsset _ctrRequestBorrowAsset = new Controllers.ctrRequestBorrowAsset();
        public frmRequestBorrowAsset()
        {
            InitializeComponent();
            _ctrRequestBorrowAsset.FrmRequestBorrowAsset = this;
        }

        //This is action to reload the DataGrid when the selected value of comboBox Category is changed
        private void cmbRALAssetCategory_SelectedValueChanged(object sender, EventArgs e)
        {
            _ctrRequestBorrowAsset.cmbRALAssetCategory_SelectedValueChanged();
        }

        private void frmRequestBorrowAsset_Load(object sender, EventArgs e)
        {
            _ctrRequestBorrowAsset.frmRequestBorrowAsset_Load();
        }
        private void btnRALClose_Click(object sender, EventArgs e)
        {
            _ctrRequestBorrowAsset.btnRALClose_Click();
        }

        private void btnRALReset_Click(object sender, EventArgs e)
        {
            _ctrRequestBorrowAsset.btnRALReset_Click();
        }

        private void btnRALSend_Click(object sender, EventArgs e)
        {
            _ctrRequestBorrowAsset.btnRALSend_Click();
        }

    }
}
